//
@boxPane-bg: #fff;
//@hoverPane-bg: #2266a5;
@hoverPane-bg: #808069;
@hoverPane-padding: 30px;
@text-color: #fff;
@border-color: #fff;
@border-margin: 5px;
@border-width: 4px;
@transition-duration: 0.35s;
@shift-distance: 10px;


[class^='boxhvr-'],[class*=' boxhvr-']{
	position: relative;
	display: inline-block;
	margin: 0px;
	width: 100%;
	background-color: @boxPane-bg;
	color: #fff;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	.translateZ();
	> .boxPane {
		vertical-align: middle;
		max-width: 100%;
		cursor: pointer;
		color: #3e3e3e;
	}
    .hoverPane {
    	//background-color: @hoverPane-bg;
    	position: absolute;
    	padding: 20px;
    	.fill;
    	//color: @text-color;
    	h1, h2, h3, h4, h5, h6 {
    		//color: @text-color;
    	}
		&.gray {
			background-color: #808069;
			color: #FFF;
		}
		&.sea {
			background-color: #2266a5;
			color: #FFF;
		}
		&.dark {
			background-color: #3e3e3e;
			color: #FFF;
		}
    }
    a {
    	.fill;
    	z-index: 1;
    }
}

[class^='boxhvr-'], [class*=' boxhvr-'], [class^='boxhvr-']:before, [class^='boxhvr-']:after, [class*=' boxhvr-']:before, [class*=' boxhvr-']:after,
[class^='boxhvr-'] *, [class*=' boxhvr-'] *, [class^='boxhvr-'] *:before, [class^='boxhvr-'] *:after, [class*=' boxhvr-'] *:before, [class*=' boxhvr-'] *:after {
	.transition(all @transition-duration ease);
}


.boxPane {
	padding: 20px 20px 15px 20px;
	//border: 1px solid #009ee0;
	border: 1px solid #e8e8e8;
	//border: 1px solid #3e3e3e;
	> .box-header {
		position: relative;
		padding-bottom: 15px;
		margin-bottom: 15px;
		border-bottom: 1px solid #e5e5e5;
		h1, h2, h3, h4, h5, h6{
            color: #313131;
			width: 70%;
			margin: 0;
			padding: 0;
		}
		span {
			position: absolute;
			text-align: right;
			right: 0;
			top: 0;
		}
	}
	> .box-content {
		position: relative;
		span:nth-child(2n) {
			position: absolute;
			text-align: right;
			right: 0;
			top: 0;
		}
	}

}

[class^='boxhvr-'],[class*=' boxhvr-']{
	&.gray{
		.boxPane {
			border-color: #d5d5d5;
		}
		.hoverPane {
			background-color: #808069;
			color: #FFF;
		}
	}
}


